import { createApp } from "vue";
// import './style.css'
// @ts-ignore
import App from "./App.vue";
// @ts-ignore
import router from "./router/index.js";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import NaiveUi from "naive-ui";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
// createApp(App).use(router).use(store).mount('#app')
const app = createApp(App);
app.use(router);
app.use(createPinia());
app.use(ElementPlus);
app.use(NaiveUi);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.mount("#app");
